<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="x"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript">
</script> 
</head>
<body>
	<form  action="${pageContext.request.contextPath}/deleteCart">
	<table border=1 align="center">
		<tr>
			<td>编号</td>
			<td>产品</td>
			<td>价格</td>
			<td>尺码</td>
			<td>图片</td>
			<td>上下架</td>
		</tr>
		<x:forEach items="${cart}" var="cart">
		<tr>
			<td ><input type="checkbox" name="cart_id" value="${cart.cart_id}"/></td>
			<td >${cart.product}</td>
			<td >${cart.price}</td>
			<td >${cart.size}</td>
			<td ><img src="${pageContext.request.contextPath }/${cart.url}"/></td>
			<td >${stock.status}</td>
			
			<td><a href="#">修改</a></td>
			<td><a href="#">删除</a></td>
			
		</tr>
		
		</x:forEach>
					<input type="submit" value="删除">
		
	</table>
	</form>
	
</body>
</html>